import me.wq.activiti.chapter5.util.ActivitiUtils;
import org.activiti.engine.ProcessEngine;
import org.junit.Test;

/**
 * 销售管理系统
 * PACKAGE_NAME
 * <p>
 * 2018/5/28-13:25
 * 科达科技股份有限公司-版权所有
 * Created by wuqiang on 13:25.
 */
public class ActivitiDemo {
    @Test
    public void test(){
        ProcessEngine processEngine = ActivitiUtils.getProcessEngine();
        int size = processEngine.getRepositoryService().createDeploymentQuery().list().size();
        System.out.println(size);
    }


}
